package opdracht2;

public class Tree implements Comparable<Tree>{
	protected int frequency;
	
	public Tree(int frequency) {
		this.frequency = frequency;
	}
	
	@Override
	public int compareTo(Tree tree) {
		return frequency - tree.frequency;
	}

}
